let mongoose = require('mongoose')

mongoose
    .connect("mongodb+srv://3078437987:147896325@cluster0.kl7is.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0")
    .then(()=>{
        console.log('database y')
    })
    .catch((err)=>{
        console.log('database n',err)
    })

module.exports = mongoose